<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta charset="utf-8">
  <title>用户登录</title>
  <link rel="stylesheet" href="../static/framework/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="../static/framework/reset.css">
  <link rel="stylesheet" href="../static/css/login.css">
</head>

<body>
  <div class="wrapper">
    <header>
      <p>用户登录</p>
    </header>
    <!--判断登录失败应该再返回到登录界面，还没添加失败跳转-->
    <form action="/user/login" method="get">
      <ul class="formbox">
        <li>
          <input type="text" id="phone" name="phone" placeholder="请输入手机号">
        </li>
        <li>
          <input type="password" id="password" name="password" placeholder="请输入密码">
        </li>
      </ul>
      <div style="color: red;font-size: 48px;text-align: center;" th:text="${session.msg}"></div>
      <div class="btn">
        <button type="submit">登录</button>
      </div>

    </form>

    <div class="btn">
      <button type="button" id="reg" onclick="location.href='/register'">注册</button>
    </div>
  </div>
<script>
</script>
</body>


</html>